﻿//  -------------------- iSharePoint -------------------- //
// 
//  Company:	IT Complex, LLC
//  Project:	Smart.Common
//  File name:	MetaList.cs
//  Developer:	Solomatov Igor
//  Created:	15.04.2012
// 
//  -------------------- iSharePoint -------------------- //

using System;
using System.Diagnostics;

namespace Smart.Common
{
	/// <summary>
	/// Store metadata about List
	/// </summary>
	[DebuggerDisplay("MetaList Name={Name} Title={Title}")]
	public abstract class MetaList : MetaFields
	{
		/// <summary>
		/// List ID
		/// </summary>
		public Guid ID { get; set; }

		/// <summary>
		/// List Title
		/// </summary>
		public string Title { get; set; }

		/// <summary>
		/// Container scope
		/// </summary>
		public MetaScope Scope { get; set; }

		/// <summary>
		/// Store metadata about List
		/// </summary>
		protected MetaList(Guid id, string name, string title, MetaScope scope)
			: base(name)
		{
			ID = id;
			Title = title;
			Scope = scope;
		}
	}
}